package com.ehome.poct.core.api.dto.message;

import com.ehome.poct.base.api.constant.DeviceType;
import com.ehome.poct.core.api.constant.EhomeConst;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 原始检测消息-订单（已支付）
 *
 * @author cq
 */
@Data
@Accessors(chain = true)
public class OriginCheckOrderMsg extends MqMsgSendBaseDTO {
    @ApiModelProperty(value = "订单主键ID")
    private String orderId;

    @ApiModelProperty(value = "设备类型")
    private Integer deviceType;

    @Override
    public String toMd5String() {
        return "appId=" + MqMsgSendBaseDTO.appId +
                "&orderId" + this.orderId +
                "&secret=" + EhomeConst.secret;
    }

}
